//
//  CLReadController.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2022/7/21.
//

#import "CLViewController.h"
#import "CLReadModel.h"
#import "CLReadContentView.h"
#import "CLReadLeftView.h"
#import "CLReadMenu.h"
#import "CLPageViewController.h"
#import "CLReadViewScrollController.h"
#import "CLCoverController.h"
#import "CLReadViewController.h"
NS_ASSUME_NONNULL_BEGIN

@interface CLReadController : CLViewController<CLPageViewControllerDelegate,UIPageViewControllerDataSource,CLCoverControllerDelegate>
// MARK: 数据相关

/// 阅读对象
@property (nonatomic, strong) CLReadModel *readModel;


// MARK: UI相关

/// 阅读主视图
@property (nonatomic, strong, nullable) CLReadContentView *contentView;

/// 章节列表
@property (nonatomic, strong) CLReadLeftView *leftView;

/// 阅读菜单
@property (nonatomic, strong) CLReadMenu *readMenu;

/// 翻页控制器 (仿真)
@property (nonatomic, strong, nullable) CLPageViewController *pageViewController;

/// 翻页控制器 (滚动)
@property (nonatomic, strong, nullable) CLReadViewScrollController *scrollController;

/// 翻页控制器 (无效果,覆盖)
@property (nonatomic, strong, nullable) CLCoverController *coverController;

/// 非滚动模式时,当前显示 DZMReadViewController
@property (nonatomic, strong, nullable) CLReadViewController *currentDisplayController;

/// 用于区分正反面的值(勿动)
@property (nonatomic, assign) NSInteger tempNumber;
@end

NS_ASSUME_NONNULL_END
